package com.youlu.campus.entity.VO.res;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Getter
@Setter
@Document(collection = "activity_info")
public class PlatformActivityInfo {
    @Id
    private String id;
    /**
     * 活动名称
     */
    @Indexed
    private String name;

    /**
     * 活动封面
     */
    private String imageUrl;

    /**
     * 开始时间
     */
    private Date startTime;
}
